package org.wdcode.back.service;

import org.wdcode.back.po.RoleOperate;
import org.wdcode.base.interfaces.service.Service;

/**
 * 角色与操作关系管理业务接口
 * @author WD
 * @since JDK6
 * @version 1.0 2009-09-23
 */
public interface RoleOperateService extends Service<RoleOperate> {
	/**
	 * 设置权限
	 * @param roleId 角色ID
	 * @param operIds 操作ID数组
	 * @return 是否成功
	 */
	boolean editRights(int roleId, int[] operIds);
}